From 0e6917a9ec3ec8ada6724e0832acd6643ec2afae Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 7 Oct 2024 02:32:36 -0700
Subject: fix(graphql): wait for database update on badge mutation

---
 src/routes/user/[user]/badges/+page.svelte | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index fda9ad6c..3857d18b 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -313,7 +313,6 @@
 			return;
 		}
 
-		(document.querySelector(`#badge-${badge.id}`) as HTMLAnchorElement).style.display = 'none';
 		selectedBadge = undefined;
 
 		deleteBadgeQuery
-- 
cgit v1.2.3

